package com.spring.demo.pojo;

/**
 * @version 1.0.0
 * @Date: 2022/5/14 9:32
 * @Author ZhuYouBin
 * @Description
 */
public class FactoryMethod {
    // 工厂方法
    public Person getInstance() {
        return new Person(1002, "朱友斌");
    }
}
